package com.tangyuan.system.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.lang.Long;

/**
 * 系统角色菜单关联表 实体类。
 * @author TangYuan
 * @since 1.0
 */
@Data
@Table(value = "sys_role_menu")
public class SysRoleMenuEntity {
    
    /** 角色菜单关联 */
    @Id(keyType = KeyType.Auto)
    private Long id;
    
    /** 角色id */
    @Column(value = "role_id")
    private Long roleId;
    
    /** 菜单id */
    @Column(value = "menu_id")
    private Long menuId;
}
